package cn.oms.manage.dao.persist.mapper;

import cn.oms.manage.pojo.entity.Medicine;
import cn.oms.manage.pojo.vo.MedicineListVO;
import cn.oms.manage.pojo.vo.MedicineStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MedicineMapper extends BaseMapper<Medicine> {

    MedicineStandardVO getStandardById(Long id);
    List<MedicineListVO> listByCategoryId(Long categoryId);
}
